package com.li.designpattern.builder;

public class Test {
	public static void main(String[] args) {
		PersonBuilder pb=new ThinPersonBuilder();
		PersonDirector pd=new PersonDirector(pb);
		pd.createPerson();
		
		System.out.println("--------------------");
		PersonBuilder pb2=new FatPersonBuilder();
		PersonDirector pd2=new PersonDirector(pb2);
		pd2.createPerson();
	}
}
